#ifndef  __MEMORYMANAGER_H__
#define  __MEMORYMANAGER_H__

#include  <fstream>
#include <iostream>

class MemoryManager
{
    public:
            static MemoryManager* getInstance( ); 
            virtual ~MemoryManager( );
            
            void allocateForDeveloper( int size);
            void allocateForTester( int size);

            void releaseForDeveloper( int size);
            void releaseForTester( int size);
    private:
            MemoryManager( );

            int developersAllocations;
            int testersAllocations;
            std::ofstream traceFile;

            static MemoryManager* instance;
};

#endif  /*__MEMORYMANAGER_H__*/
